<?php

namespace DesignNew\FactoryMethod;

require('../vendor/autoload.php');
/**
 * 生产房门的工厂
 */
class FmClient{

    public function __construct()
    {
        $this->run();
    }

    public function run()
    {
        $devManager = new \DesignNew\FactoryMethod\DevelopmentManager();
        $devManager->takeInterview();

        $marketingManager = new \DesignNew\FactoryMethod\MarketingManager();
        $marketingManager->takeInterview();
    }
}

$client = new FmClient();